[xsd-users] error: '--namespace-map': unable to open in read mode
wendy f
wendy01142015 at outlook.com
Mon Nov 9 10:30:20 EST 2015
Employee.xsd<?xml version="1.0" encoding="UTF-8"?><xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" > <xsd:element name="Employee"> <xsd:complexType> <xsd:sequence> <xsd:element name="Name" type="xsd:string"/> <xsd:element name="DateOfBirth" type="xsd:date"/> <xsd:element name="Salary" type="xsd:int"/> </xsd:sequence> </xsd:complexType> </xsd:element>
</xsd:schema>
$/xsd/xsd-3.2.0-x86_64-linux-gnu/bin/xsd cxx-tree --hxx-suffix .h --cxx-suffix .cpp --generate-default-ctor Employee.xsd# compile without problems
$/xsd/xsd-3.2.0-x86_64-linux-gnu/bin/xsd cxx-tree --hxx-suffix .h --cxx-suffix .cpp --generate-default-ctor Employee.xsd --namespace-map =employee--namespace-map: error: '--namespace-map': unable to open in read mode
Question> can someone tell me why the '--namespace-map' doesn't work here?
Thank you
More information about the xsd-users
mailing list