我在尝试在javafx中运行我的应用程序并指向此xml文件时出错。恐怖如下 引起:javax.xml.stream.XMLStreamException:[row,col]处的ParseError:[2,6]消息:处理指令目标匹配" [xX] [mM] [lL]"是不允许的。
有人可以帮助我
<?xml version="1.0" encoding="UTF-8"?>
<?import com.jfoenix.controls.JFXButton?>
<?import com.jfoenix.controls.JFXComboBox?>
<?import com.jfoenix.controls.JFXTextField?>
<?import java.net.URL?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.effect.Reflection?>
<?import javafx.scene.layout.AnchorPane?>
<AnchorPane prefHeight="400.0" prefWidth="400.0" xmlns="http://javafx.com/javafx/8.0.121" xmlns:fx="http://javafx.com/fxml/1" fx:controller="sample.EndOfDayController">
<children>
<AnchorPane fx:id="eodAnchor" layoutX="14.0" layoutY="20.0" prefHeight="400.0" prefWidth="410.0" style="-fx-background-color: white;" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="-10.0" AnchorPane.topAnchor="0.0">
<children>
<JFXTextField labelFloat="true" layoutX="196.0" layoutY="73.0" prefHeight="17.0" prefWidth="186.0" promptText="Date" />
<Label layoutX="99.0" layoutY="83.0" text="End Of Day" />
<JFXTextField labelFloat="true" layoutX="196.0" layoutY="208.0" prefHeight="42.0" prefWidth="186.0" promptText="items" unFocusColor="#4d4d4d" />
<Label layoutX="97.0" layoutY="110.0" prefHeight="42.0" prefWidth="96.0" text="Eod Status" />
<Label layoutX="97.0" layoutY="172.0" prefHeight="17.0" prefWidth="88.0" text="Next Pos Date" />
<JFXComboBox labelFloat="true" layoutX="196.0" layoutY="147.0" prefHeight="42.0" prefWidth="186.0" unFocusColor="#f50a0a">
<effect>
<Reflection/>
</effect>
</JFXComboBox>
<Label layoutX="97.0" layoutY="234.0" prefHeight="17.0" prefWidth="88.0" text="Total Items Sold" />
<JFXButton fx:id="btnOkEOD" buttonType="RAISED" layoutX="83.0" layoutY="272.0" mnemonicParsing="false" prefHeight="66.0" prefWidth="262.0" ripplerFill="#3145f5" text="Ok">
<stylesheets>
<URL value="@main.css" />
</stylesheets>
</JFXButton>
<JFXTextField labelFloat="true" layoutX="196.0" layoutY="119.0" prefHeight="25.0" prefWidth="174.0" promptText="Status" />
</children>
</AnchorPane>
</children>
</AnchorPane>