On 6/23/05, Sean Radford <[EMAIL PROTECTED]> wrote: > Hi guys, > > > > Has anyone noticed an issue with importing xml and LF characters? > > > > I have an xml document that when imported using Session.importXML(...) > results in new line characters being inserted at the beginning of tag > values: > > > > <?xml version="1.0" encoding="UTF-8"?> > > <Policy xmlns="urn:oasis:names:tc:xacml:1.0:policy" > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > PolicyId="test:policy-one" > > > RuleCombiningAlgId="urn:oasis:names:tc:xacml:1.0:rule-combining-algorith > m:ordered-permit-overrides"> > > <Description>policy-description</Description> > > <Target> > > .... > > > > Becomes > > > > /test/policies/Policy/jcr:primaryType=nt:unstructured > > /test/policies/Policy/PolicyId=test:policy-one > > /test/policies/Policy/RuleCombiningAlgId=urn:oasis:names:tc:xacml:1.0:ru > le-combining-algorithm:ordered-permit-overrides > > /test/policies/Policy/Description/jcr:primaryType=nt:unstructured > > /test/policies/Policy/Description/jcr:xmltext/jcr:primaryType=nt:unstruc > tured > > /test/policies/Policy/Description/jcr:xmltext/jcr:xmlcharacters= > > policy-description > > /test/policies/Policy/Target/jcr:primaryType=nt:unstructured > > > > (in other cases, many LFs are inserted) > > > > > > Any ideas why this is happening and how to sort it?
i have no idea. please post a jira issue and attach your xml file. i'll then have a look at it. cheers stefan > > > > Thanks and regards, > > > > Sean > > >
